package com.yxsd.mapper;

import com.yxsd.common.entity.Product;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * ProductMapper
 *
 * @author: zhangteng
 * @time: 2015/1/5 17:27
 */
public interface ProductMapper {

    public List<Product> queryByCondition(Map<String, Object> params) throws Exception;

    public int queryCountByCondition(@Param("search") String search) throws Exception;
}
